﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TradeClient.Logic.TradeCore
{
    class Test1 : PolicyBase
    {
        /// <summary>
        /// 单例模式实例对象
        /// </summary>
        private static Test1 instance;

        /// <summary>
        /// 策略中文名称
        /// </summary>
        public override string PolicyChineseName { get { return "功能测试策略1"; } }

        /// <summary>
        /// 取得交易管理类实例
        /// </summary>
        /// <returns>交易管理类实例</returns>
        public static Test1 GetInstance()
        {
            if (instance == null)
                instance = new Test1();

            return instance;
        }


        public override void PriceUpdate(KLineSeries series)
        {
            throw new NotImplementedException();
        }

        public override void KLineFinished(KLineSeries series)
        {
            throw new NotImplementedException();
        }

        public override void KLineOpen(KLineSeries series)
        {
            throw new NotImplementedException();
        }

        public override bool OpenBuyPosition()
        {
            throw new NotImplementedException();
        }

        public override bool IncreaseBuyPosition()
        {
            throw new NotImplementedException();
        }

        public override bool CloseBuyPosition()
        {
            throw new NotImplementedException();
        }

        public override bool OpenSellPosition()
        {
            throw new NotImplementedException();
        }

        public override bool IncreaseSellPosition()
        {
            throw new NotImplementedException();
        }

        public override bool CloseSellPosition()
        {
            throw new NotImplementedException();
        }
    }
}
